﻿using Hotel.DAL;

namespace Hotel.BLL
{
    public class AdminBLL
    {
        private readonly AdminDAL db;

        public AdminBLL(AdminDAL db)
        {
            this.db = db;
        }
        public decimal Login(string UserNmae, string UsetPwd)
        {
            try
            {   
                var res =db.Login(UserNmae, UsetPwd);
                return res;
            }
            catch (Exception ex)
            {

                throw ex;
            }
        }

    }
}